import { createI18n } from 'vue-i18n';
import {getBrowserLang} from "@/helper";
import zh from "@/language/zh.ts";
import en from "@/language/en.ts";

export default createI18n({
    allowComposition: true,
    legacy: false,
    locale: getBrowserLang(),
    messages: {
        zh,
        en
    }
})
